import http from '@/utils/request'

/***** 后台管理 系统用户(SysUser) 模块 *******/
const prefix = "admin/v1/sysUser/"

// 登录
export function login(params) {
  return http.request({
    url: prefix + "login",
    method: "post",
    data: params,
  });
}

// 详情信息
export function getInfo() {
  return http.request({
    url: prefix + "selectDetailByMy",
    method: "get",
  })
}


// 退出登录
export function logout() {
  return http.request({
    url: prefix + "logout",
    method: "post",
  });
}
